import { del, get, post, put } from "../uitils/request";

// 加入购物车
export const shopAddCartAPI=(data)=>post('/api/v1/shop_carts',data)
// 删除购物车
export const shopDelCartAPI=(id)=>del(' /api/v1/shop_carts/'+id)

// 获取购物车数据
export  const shopCartAPI=()=>get('/api/v1/shop_carts')